package com.mofeng.myshop.until;


public class CustomIdGenerator {
    public static Long getSnowflakeId(){
        SnowflakeIdWorker snowflakeIdWorker = SpringUtil.getBean(SnowflakeIdWorker.class);
        return snowflakeIdWorker.nextId();
    }
}